package org.sunflower;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

/**
 * @description:
 * @author: TanJingyu
 * @create: 2021-09-29 15:06
 **/
@SpringBootApplication
@EnableRabbit
@EnableElasticsearchRepositories(basePackages = "org.sunflower.elastic")
public class SparePartsApplication {
    public static void main(String[] args) {
        SpringApplication.run(SparePartsApplication.class, args);
    }
}
